<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学知题库 - 智能教育资源平台</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    
    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CBCB',
                        accent: '#FF7D00',
                        neutral: '#F5F7FA',
                        'neutral-dark': '#4E5969',
                        success: '#00B42A',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-5px);
            }
            .bg-gradient-primary {
                background: linear-gradient(135deg, #165DFF 0%, #0E42B3 100%);
            }
            .progress-ring-circle {
                transition: stroke-dashoffset 0.35s;
                transform: rotate(-90deg);
                transform-origin: 50% 50%;
            }
            .animate-float {
                animation: float 3s ease-in-out infinite;
            }
            @keyframes float {
                0% { transform: translateY(0px); }
                50% { transform: translateY(-10px); }
                100% { transform: translateY(0px); }
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-inter text-gray-800 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50 transition-all duration-300">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center space-x-2">
                <a href="#" class="flex items-center">
                    <i class="fa fa-graduation-cap text-primary text-2xl mr-2"></i>
                    <h1 class="text-xl font-bold text-gray-800">学知题库</h1>
                </a>
            </div>
            
            <div class="hidden md:flex items-center space-x-6">
                <a href="#" class="text-primary font-medium border-b-2 border-primary pb-1">首页</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">题库</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">学习路径</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">模拟考试</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">关于我们</a>
            </div>
            
            <div class="flex items-center space-x-4">
                <div class="relative hidden md:block">
                    <input type="text" placeholder="搜索题目、知识点或教材..." 
                           class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all w-64">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
                
                <div class="flex space-x-2">
                    <button class="px-4 py-2 bg-white text-primary border border-primary rounded-lg hover:bg-primary/5 transition-colors">登录</button>
                    <button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors">注册</button>
                </div>
            </div>
        </div>
    </header>

    <!-- 英雄区 -->
    <section class="bg-gradient-primary text-white py-16 md:py-24 relative overflow-hidden">
        <div class="absolute inset-0 opacity-10">
            <div class="absolute top-0 left-0 w-full h-full bg-[url('https://picsum.photos/id/180/1920/1080')] bg-cover bg-center"></div>
        </div>
        <div class="container mx-auto px-4 relative z-10">
            <div class="max-w-3xl mx-auto text-center">
                <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold mb-4 text-shadow leading-tight">
                    智能题库，助力高效学习
                </h1>
                <p class="text-white/90 text-lg md:text-xl mb-8 max-w-2xl mx-auto">
                    覆盖全学科、全年级的优质题库，智能推荐个性化学习路径，让学习更高效、更轻松
                </p>
                <div class="flex flex-col sm:flex-row justify-center gap-4">
                    <button class="px-6 py-3 bg-white text-primary rounded-lg hover:bg-gray-100 transition-colors font-medium text-lg shadow-lg">
                        <i class="fa fa-search mr-2"></i> 搜索题目
                    </button>
                    <button class="px-6 py-3 bg-white/10 text-white rounded-lg hover:bg-white/20 transition-colors font-medium text-lg backdrop-blur-sm">
                        <i class="fa fa-graduation-cap mr-2"></i> 开始学习
                    </button>
                </div>
                
                <div class="flex flex-wrap justify-center gap-6 mt-12 text-center">
                    <div class="text-center">
                        <p class="text-3xl md:text-4xl font-bold">100万+</p>
                        <p class="text-white/80">精选题目</p>
                    </div>
                    <div class="text-center">
                        <p class="text-3xl md:text-4xl font-bold">500+</p>
                        <p class="text-white/80">教材版本</p>
                    </div>
                    <div class="text-center">
                        <p class="text-3xl md:text-4xl font-bold">10万+</p>
                        <p class="text-white/80">活跃用户</p>
                    </div>
                    <div class="text-center">
                        <p class="text-3xl md:text-4xl font-bold">98%</p>
                        <p class="text-white/80">用户好评</p>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="absolute bottom-0 left-0 w-full">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" class="w-full h-auto">
                <path fill="#F5F7FA" fill-opacity="1" d="M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z"></path>
            </svg>
        </div>
    </section>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto bg-gray-50 py-12">
        <div class="container mx-auto px-4">
            <!-- 热门学科 -->
            <section class="mb-16">
                <div class="flex items-center justify-between mb-8">
                    <h2 class="text-2xl font-bold">热门学科</h2>
                    <a href="#" class="text-primary hover:underline flex items-center">
                        查看全部 <i class="fa fa-angle-right ml-1"></i>
                    </a>
                </div>
                
                <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
                    <div class="bg-white rounded-xl shadow-sm p-5 card-hover text-center">
                        <div class="w-16 h-16 mx-auto mb-3 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
                            <i class="fa fa-calculator text-2xl"></i>
                        </div>
                        <h3 class="font-medium mb-1">数学</h3>
                        <p class="text-sm text-gray-500">12,456道题</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-5 card-hover text-center">
                        <div class="w-16 h-16 mx-auto mb-3 rounded-full bg-green-100 flex items-center justify-center text-green-600">
                            <i class="fa fa-flask text-2xl"></i>
                        </div>
                        <h3 class="font-medium mb-1">物理</h3>
                        <p class="text-sm text-gray-500">8,742道题</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-5 card-hover text-center">
                        <div class="w-16 h-16 mx-auto mb-3 rounded-full bg-red-100 flex items-center justify-center text-red-600">
                            <i class="fa fa-flask text-2xl"></i>
                        </div>
                        <h3 class="font-medium mb-1">化学</h3>
                        <p class="text-sm text-gray-500">7,589道题</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-5 card-hover text-center">
                        <div class="w-16 h-16 mx-auto mb-3 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
                            <i class="fa fa-leaf text-2xl"></i>
                        </div>
                        <h3 class="font-medium mb-1">生物</h3>
                        <p class="text-sm text-gray-500">6,321道题</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-5 card-hover text-center">
                        <div class="w-16 h-16 mx-auto mb-3 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
                            <i class="fa fa-language text-2xl"></i>
                        </div>
                        <h3 class="font-medium mb-1">语文</h3>
                        <p class="text-sm text-gray-500">9,876道题</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-5 card-hover text-center">
                        <div class="w-16 h-16 mx-auto mb-3 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600">
                            <i class="fa fa-globe text-2xl"></i>
                        </div>
                        <h3 class="font-medium mb-1">英语</h3>
                        <p class="text-sm text-gray-500">11,234道题</p>
                    </div>
                </div>
            </section>
            
            <!-- 精选题目 -->
            <section class="mb-16">
                <div class="flex items-center justify-between mb-8">
                    <h2 class="text-2xl font-bold">精选题目</h2>
                    <div class="flex space-x-2">
                        <button class="px-3 py-1 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors text-sm">
                            最新
                        </button>
                        <button class="px-3 py-1 bg-gray-100 text-gray-600 rounded-lg hover:bg-gray-200 transition-colors text-sm">
                            热门
                        </button>
                        <button class="px-3 py-1 bg-gray-100 text-gray-600 rounded-lg hover:bg-gray-200 transition-colors text-sm">
                            推荐
                        </button>
                    </div>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="px-2 py-1 bg-blue-100 text-blue-600 rounded text-xs mr-2">数学</span>
                                <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">高中</span>
                                <div class="ml-auto flex items-center">
                                    <div class="flex items-center mr-2">
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                    </div>
                                    <span class="text-xs text-gray-500">中等</span>
                                </div>
                            </div>
                            
                            <h3 class="font-medium mb-3">已知集合\(A = \{1, 2, 3\}\)，集合\(B = \{2, 3, 4\}\)，求\(A \cap B\)。</h3>
                            
                            <div class="flex items-center justify-between text-sm text-gray-500 mt-4">
                                <div class="flex items-center">
                                    <img src="https://picsum.photos/id/64/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                    <span>张老师</span>
                                </div>
                                <span>2025-07-01</span>
                            </div>
                        </div>
                        
                        <div class="border-t p-4 flex justify-between items-center">
                            <div class="flex space-x-4">
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-eye mr-1"></i> 128
                                </button>
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-comment-o mr-1"></i> 12
                                </button>
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-heart-o mr-1"></i> 24
                                </button>
                            </div>
                            <button class="px-3 py-1 bg-primary/10 text-primary rounded-lg hover:bg-primary/20 transition-colors text-sm">
                                查看详情
                            </button>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="px-2 py-1 bg-green-100 text-green-600 rounded text-xs mr-2">物理</span>
                                <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">高中</span>
                                <div class="ml-auto flex items-center">
                                    <div class="flex items-center mr-2">
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                    </div>
                                    <span class="text-xs text-gray-500">较难</span>
                                </div>
                            </div>
                            
                            <h3 class="font-medium mb-3">简述牛顿第二定律的内容及其数学表达式，并举例说明其在现实生活中的应用。</h3>
                            
                            <div class="flex items-center justify-between text-sm text-gray-500 mt-4">
                                <div class="flex items-center">
                                    <img src="https://picsum.photos/id/91/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                    <span>李老师</span>
                                </div>
                                <span>2025-06-30</span>
                            </div>
                        </div>
                        
                        <div class="border-t p-4 flex justify-between items-center">
                            <div class="flex space-x-4">
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-eye mr-1"></i> 96
                                </button>
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-comment-o mr-1"></i> 18
                                </button>
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-heart-o mr-1"></i> 32
                                </button>
                            </div>
                            <button class="px-3 py-1 bg-primary/10 text-primary rounded-lg hover:bg-primary/20 transition-colors text-sm">
                                查看详情
                            </button>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="px-2 py-1 bg-red-100 text-red-600 rounded text-xs mr-2">化学</span>
                                <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">高中</span>
                                <div class="ml-auto flex items-center">
                                    <div class="flex items-center mr-2">
                                        <i class="fa fa-star text-yellow-400 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                    </div>
                                    <span class="text-xs text-gray-500">容易</span>
                                </div>
                            </div>
                            
                            <h3 class="font-medium mb-3">下列哪种物质属于有机物？A. 二氧化碳 B. 甲烷 C. 碳酸钙 D. 水</h3>
                            
                            <div class="flex items-center justify-between text-sm text-gray-500 mt-4">
                                <div class="flex items-center">
                                    <img src="https://picsum.photos/id/65/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                    <span>王老师</span>
                                </div>
                                <span>2025-06-29</span>
                            </div>
                        </div>
                        
                        <div class="border-t p-4 flex justify-between items-center">
                            <div class="flex space-x-4">
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-eye mr-1"></i> 87
                                </button>
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-comment-o mr-1"></i> 9
                                </button>
                                <button class="text-gray-500 hover:text-primary flex items-center">
                                    <i class="fa fa-heart-o mr-1"></i> 16
                                </button>
                            </div>
                            <button class="px-3 py-1 bg-primary/10 text-primary rounded-lg hover:bg-primary/20 transition-colors text-sm">
                                查看详情
                            </button>
                        </div>
                    </div>
                </div>
                
                <div class="text-center mt-8">
                    <button class="px-6 py-2 bg-white text-primary border border-primary rounded-lg hover:bg-primary/5 transition-colors">
                        加载更多题目 <i class="fa fa-angle-down ml-1"></i>
                    </button>
                </div>
            </section>
            
            <!-- 学习路径 -->
            <section class="mb-16 bg-white p-8 rounded-2xl shadow-sm">
                <div class="flex flex-col md:flex-row items-center justify-between mb-8">
                    <div>
                        <h2 class="text-2xl font-bold mb-2">个性化学习路径</h2>
                        <p class="text-gray-600">根据你的学习进度和目标，智能推荐最适合你的学习路径</p>
                    </div>
                    <button class="mt-4 md:mt-0 px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors">
                        开始学习路径
                    </button>
                </div>
                
                <div class="relative">
                    <div class="hidden md:block absolute top-1/2 left-0 w-full h-1 bg-gray-200 -translate-y-1/2 z-0"></div>
                    
                    <div class="grid grid-cols-1 md:grid-cols-4 gap-6 relative z-10">
                        <div class="bg-white rounded-xl shadow-sm p-5 text-center card-hover border border-gray-100">
                            <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
                                <i class="fa fa-graduation-cap text-2xl"></i>
                            </div>
                            <h3 class="font-medium mb-2">水平测试</h3>
                            <p class="text-sm text-gray-600 mb-3">完成基础测试，了解你的知识水平</p>
                            <button class="px-4 py-1.5 bg-blue-100 text-blue-600 rounded-lg hover:bg-blue-200 transition-colors text-sm">
                                开始测试
                            </button>
                        </div>
                        
                        <div class="bg-white rounded-xl shadow-sm p-5 text-center card-hover border border-gray-100">
                            <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-green-100 flex items-center justify-center text-green-600">
                                <i class="fa fa-map-o text-2xl"></i>
                            </div>
                            <h3 class="font-medium mb-2">制定计划</h3>
                            <p class="text-sm text-gray-600 mb-3">根据测试结果，生成个性化学习计划</p>
                            <button class="px-4 py-1.5 bg-green-100 text-green-600 rounded-lg hover:bg-green-200 transition-colors text-sm">
                                查看计划
                            </button>
                        </div>
                        
                        <div class="bg-white rounded-xl shadow-sm p-5 text-center card-hover border border-gray-100">
                            <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
                                <i class="fa fa-book text-2xl"></i>
                            </div>
                            <h3 class="font-medium mb-2">学习提升</h3>
                            <p class="text-sm text-gray-600 mb-3">按照计划学习，逐步提升知识水平</p>
                            <button class="px-4 py-1.5 bg-purple-100 text-purple-600 rounded-lg hover:bg-purple-200 transition-colors text-sm">
                                开始学习
                            </button>
                        </div>
                        
                        <div class="bg-white rounded-xl shadow-sm p-5 text-center card-hover border border-gray-100">
                            <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
                                <i class="fa fa-trophy text-2xl"></i>
                            </div>
                            <h3 class="font-medium mb-2">评估成果</h3>
                            <p class="text-sm text-gray-600 mb-3">定期进行评估，检验学习成果</p>
                            <button class="px-4 py-1.5 bg-yellow-100 text-yellow-600 rounded-lg hover:bg-yellow-200 transition-colors text-sm">
                                开始评估
                            </button>
                        </div>
                    </div>
                </div>
            </section>
            
            <!-- 用户反馈 -->
            <section class="mb-16">
                <div class="text-center mb-8">
                    <h2 class="text-2xl font-bold mb-2">用户反馈</h2>
                    <p class="text-gray-600 max-w-2xl mx-auto">听听其他用户对我们题库的评价</p>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <div class="bg-white rounded-xl shadow-sm p-6 card-hover">
                        <div class="flex items-center mb-4">
                            <img src="https://picsum.photos/id/64/60/60" alt="用户头像" class="w-12 h-12 rounded-full mr-4">
                            <div>
                                <h4 class="font-medium">张同学</h4>
                                <div class="flex text-yellow-400">
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                </div>
                            </div>
                        </div>
                        <p class="text-gray-600">"这个题库真的帮了我大忙，题目质量很高，解析也非常详细。尤其是数学和物理部分，对我的高考复习帮助很大。"</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-6 card-hover">
                        <div class="flex items-center mb-4">
                            <img src="https://picsum.photos/id/91/60/60" alt="用户头像" class="w-12 h-12 rounded-full mr-4">
                            <div>
                                <h4 class="font-medium">李老师</h4>
                                <div class="flex text-yellow-400">
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star-half-o"></i>
                                </div>
                            </div>
                        </div>
                        <p class="text-gray-600">"作为一名高中物理老师，我经常使用这个题库来备课和出题。题目分类清晰，难度适中，而且更新很快，非常实用。"</p>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm p-6 card-hover">
                        <div class="flex items-center mb-4">
                            <img src="https://picsum.photos/id/65/60/60" alt="用户头像" class="w-12 h-12 rounded-full mr-4">
                            <div>
                                <h4 class="font-medium">王家长</h4>
                                <div class="flex text-yellow-400">
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star"></i>
                                    <i class="fa fa-star-o"></i>
                                </div>
                            </div>
                        </div>
                        <p class="text-gray-600">"我给孩子买了会员，他的学习成绩有了明显提高。这个题库的个性化学习路径功能非常好，能够根据孩子的情况推荐合适的题目。"</p>
                    </div>
                </div>
            </section>
            
            <!-- 常见问题 -->
            <section class="mb-16">
                <div class="text-center mb-8">
                    <h2 class="text-2xl font-bold mb-2">常见问题</h2>
                    <p class="text-gray-600 max-w-2xl mx-auto">关于题库系统的常见问题解答</p>
                </div>
                
                <div class="max-w-3xl mx-auto space-y-4">
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                        <button class="faq-toggle w-full flex items-center justify-between p-5 text-left font-medium hover:bg-gray-50 transition-colors">
                            <span>如何搜索特定类型的题目？</span>
                            <i class="fa fa-plus text-gray-400 transition-transform"></i>
                        </button>
                        <div class="faq-content hidden p-5 pt-0 border-t">
                            <p class="text-gray-600">您可以使用顶部搜索栏，输入关键词、学科、难度等信息进行搜索。也可以通过学科分类页面，筛选特定类型的题目。</p>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                        <button class="faq-toggle w-full flex items-center justify-between p-5 text-left font-medium hover:bg-gray-50 transition-colors">
                            <span>如何创建自己的题库？</span>
                            <i class="fa fa-plus text-gray-400 transition-transform"></i>
                        </button>
                        <div class="faq-content hidden p-5 pt-0 border-t">
                            <p class="text-gray-600">注册并登录账号后，您可以在"我的题库"页面创建自己的题库。可以根据学科、知识点、难度等维度进行分类管理。</p>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                        <button class="faq-toggle w-full flex items-center justify-between p-5 text-left font-medium hover:bg-gray-50 transition-colors">
                            <span>是否支持离线使用？</span>
                            <i class="fa fa-plus text-gray-400 transition-transform"></i>
                        </button>
                        <div class="faq-content hidden p-5 pt-0 border-t">
                            <p class="text-gray-600">我们的移动端应用支持离线下载题目和学习资料，方便您在没有网络的情况下继续学习。已下载的内容可以在"我的下载"中查看。</p>
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                        <button class="faq-toggle w-full flex items-center justify-between p-5 text-left font-medium hover:bg-gray-50 transition-colors">
                            <span>如何查看题目的详细解析？</span>
                            <i class="fa fa-plus text-gray-400 transition-transform"></i>
                        </button>
                        <div class="faq-content hidden p-5 pt-0 border-t">
                            <p class="text-gray-600">点击题目卡片进入详情页，即可查看详细解析。对于会员用户，我们还提供视频解析、解题思路等更丰富的学习资源。</p>
                        </div>
                    </div>
                </div>
            </section>
            
            <!-- 订阅区域 -->
            <section class="bg-gradient-primary text-white py-12 rounded-2xl mb-16 relative overflow-hidden">
                <div class="absolute inset-0 opacity-10">
                    <div class="absolute top-0 left-0 w-full h-full bg-[url('https://picsum.photos/id/177/1920/1080')] bg-cover bg-center"></div>
                </div>
                <div class="container mx-auto px-4 relative z-10">
                    <div class="max-w-3xl mx-auto text-center">
                        <h2 class="text-2xl font-bold mb-4">订阅我们的更新</h2>
                        <p class="text-white/90 mb-6">获取最新的题目、学习资料和教育资讯</p>
                        
                        <div class="flex flex-col sm:flex-row gap-3 max-w-lg mx-auto">
                            <input type="email" placeholder="输入您的邮箱地址" 
                                   class="flex-1 px-4 py-3 rounded-lg text-gray-800 focus:outline-none focus:ring-2 focus:ring-white">
                            <button class="px-6 py-3 bg-white text-primary rounded-lg hover:bg-gray-100 transition-colors font-medium">
                                立即订阅
                            </button>
                        </div>
                        
                        <p class="text-white/70 text-sm mt-4">我们尊重您的隐私，绝不会向第三方分享您的信息</p>
                    </div>
                </div>
            </section>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-gray-800 text-white py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center mb-4">
                        <i class="fa fa-graduation-cap text-primary text-2xl mr-2"></i>
                        <h3 class="text-xl font-bold">学知题库</h3>
                    </div>
                    <p class="text-gray-400 mb-4">智能教育资源平台，助力学生高效学习</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-weibo"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-wechat"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-qq"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">快速链接</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">首页</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">题库</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">学习路径</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">模拟考试</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">关于我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">帮助中心</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用指南</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">意见反馈</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">隐私政策</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-medium mb-4">联系我们</h4>
                    <ul class="space-y-2">
                        <li class="flex items-center">
                            <i class="fa fa-map-marker text-primary mr-2"></i>
                            <span class="text-gray-400">北京市海淀区中关村大街1号</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-phone text-primary mr-2"></i>
                            <span class="text-gray-400">400-123-4567</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-envelope text-primary mr-2"></i>
                            <span class="text-gray-400">contact@xuezhi.com</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-clock-o text-primary mr-2"></i>
                            <span class="text-gray-400">周一至周日 9:00-21:00</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
                <p>&copy; 2025 学知题库 版权所有 | 京ICP备12345678号</p>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 导航栏滚动效果
        window.addEventListener('scroll', function() {
            const header = document.querySelector('header');
            if (window.scrollY > 50) {
                header.classList.add('shadow-md', 'bg-white/95', 'backdrop-blur-sm');
                header.classList.remove('shadow-sm');
            } else {
                header.classList.remove('shadow-md', 'bg-white/95', 'backdrop-blur-sm');
                header.classList.add('shadow-sm');
            }
        });
        
        // FAQ 切换
        document.querySelectorAll('.faq-toggle').forEach(toggle => {
            toggle.addEventListener('click', function() {
                const content = this.nextElementSibling;
                const icon = this.querySelector('i');
                
                if (content.classList.contains('hidden')) {
                    content.classList.remove('hidden');
                    icon.classList.add('rotate-45');
                } else {
                    content.classList.add('hidden');
                    icon.classList.remove('rotate-45');
                }
            });
        });
        
        // 学习进度图表
        document.addEventListener('DOMContentLoaded', function() {
            const ctx = document.getElementById('learning-progress-chart');
            
            if (ctx) {
                new Chart(ctx, {
                    type: 'line',
                    data: {
                        labels: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
                        datasets: [{
                            label: '学习时长(分钟)',
                            data: [45, 60, 30, 90, 75, 120, 80],
                            borderColor: '#165DFF',
                            backgroundColor: 'rgba(22, 93, 255, 0.1)',
                            tension: 0.4,
                            fill: true
                        }]
                    },
                    options: {
                        responsive: true,
                        plugins: {
                            legend: {
                                display: false
                            }
                        },
                        scales: {
                            y: {
                                beginAtZero: true
                            }
                        }
                    }
                });
            }
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
    </script>
</body>
</html>
